In [1]:
import plotly.express as px
import plotly
from PIL import Image
from matplotlib import pyplot as plt
In [2]:
# required for rndering correctrly on an HTML
# https://stackoverflow.com/a/58718006/
plotly.offline.init_notebook_mode()
In [4]:
print("hello my name is sahariiii")
hello my name is sahariiii

Some Example Title¶

A link

A Table¶

X Y
1 1.2
2 5

A Dynamic JS-based Graph¶

In [3]:
px.scatter(x=[1, 2, 3], y=[1, 2, 3])

An Image¶

In [4]:
img = Image.open('../images/4158627220_A_bowling_ball_rolling_down_a_hill.png')
fig = plt.imshow(img)
plt.axis('off')
fig.axes.get_xaxis().set_visible(False)
fig.axes.get_yaxis().set_visible(False)
In [ ]: